package com.cy.pj.sys.service;

import com.cy.pj.common.vo.Node;
import com.cy.pj.sys.pojo.Menu;
import com.cy.pj.sys.vo.AdminMenuVo;

import java.util.List;
import java.util.Map;

/**
 * @author shuidehuiyi@gmail.com
 * @date 2020/6/13 15:56
 */
public interface MenuService {
    List<Map<String,Object>> findObjects();
    int deleteObjects(Integer id);
    List<Node> findZtreeMenuNodes();
    int saveObject(Menu entity);
    int updateObject(Menu entity);
    List<AdminMenuVo> findAdminMenusByAdminId(Integer id);
}
